//
//  SinglePicker.h
//  YaoHeAPP
//
//  Created by mac on 15/12/14.
//  Copyright © 2015年 mac. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface SinglePicker : UIView<UIPickerViewDataSource,UIPickerViewDelegate,UIGestureRecognizerDelegate>
{
    UIPickerView  *_pickerView;
    UIView *_bgView;
    NSString*_stringRow;//将选中字符串拼接成完整的一个字
    NSMutableArray*_hoursArray;//小时数组
    NSMutableArray*_minutesArray;//分钟数组
    NSString*str1;
    NSString*str2;
}
@property (nonatomic, strong) void(^SelectBlock)(NSString *selectIndexStr);
@property (nonatomic, strong) NSString *titleStr;
@property(nonatomic,strong)NSArray*dataArray;
@property (nonatomic, strong)NSArray *pickData;
@property(nonatomic,assign)BOOL  _YESORNO;

//大小
- (id)initWithFrame:(CGRect)frame;
//展示选择器
+(void)showPickerView:(UIView*)selfView withdataArray:(NSArray*)dataArray withTitle:(NSString*)titleString singleDoble:(BOOL)yesORno andSelectBlock:(void(^)(NSString*))selectRow ;

@end
